<template>
	<view>
		<view >
			<scroll-view class="all" scroll-y="true">
				<view v-for="(item,index) in lishizhanji" class="dange" data-indx="{{index}}">
					<view class="jieguo"> {{item.shengbai}}</view>
					<view class="huanledou">欢乐豆:</view>
					<view class="jiajiandou">{{item.jiajiandou}}</view>
				</view>
				
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lishizhanji:[],
				zhang:""
			}
		},
		onLoad(){
			this.zhang=getApp().globalData.zhang
		
				uni.request({
				url:"http://124.221.104.5:8080/jbgn/lishizhanji",
				data:{zhang:this.zhang},
				success: (res) => {
					this.lishizhanji=res.data
				}
			})
			
			
			
		},
		methods: {
		
		}
	}
</script>

<style>
.all{
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.dange{
	width: 100%;
	height: 150rpx;
	border: 1rpx solid aquamarine;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.jieguo{
	margin-left: 50rpx;
	width: 50rpx;
	font-size: 60rpx;
	line-height: 150rpx;
	
}
.huanledou{
	margin-left: 50rpx;
	font-size: 50rpx;
}
.jiajiandou{
	margin-left: 20rpx;
	font-size: 50rpx;
}
</style>
